package com.bootdo.clouddo.domain.juejin;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

@Table(name="cms_juejin_category")
@NameStyle(Style.normal)
public class CategoryDO implements Serializable{
	
	private static final long serialVersionUID = 3649961234922892288L;
	
	@Id
	@Column(name="ID",length=50, unique=true)
	private String id;
	
	private String title;
	private String name;
	private String icon;
	
	private Integer px;
	
	@JsonIgnore
	private Boolean ngxCached;
	@JsonIgnore
	private Date ngxCachedTime;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Boolean getNgxCached() {
		return ngxCached;
	}
	public void setNgxCached(Boolean ngxCached) {
		this.ngxCached = ngxCached;
	}
	public Date getNgxCachedTime() {
		return ngxCachedTime;
	}
	public void setNgxCachedTime(Date ngxCachedTime) {
		this.ngxCachedTime = ngxCachedTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public Integer getPx() {
		return px;
	}
	public void setPx(Integer px) {
		this.px = px;
	}
}
